package com.eportal.ORM;



/**
 * UserView entity. @author MyEclipse Persistence Tools
 */

public class UserView  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String mpayUserid;
     private String mpayUsername;
     private String mpayTermid;
     private String mpayGroupid;
     private String mpayCreate;
     private String mpayLogip;
     private String mpayLogtime;
     private String mpayPassword;
     private Integer isAdmin;
     private Integer isAll;
     private String mpayFlag;
     private Integer mpayLogCount;
     private String shopId;
     private String shopName;
     private String mpayModuleName;
     private String tableName;
     private String systemName;
     private String shopManager;


    // Constructors

    /** default constructor */
    public UserView() {
    }

	/** minimal constructor */
    public UserView(Integer id, String mpayUserid, String mpayUsername, String mpayTermid, String mpayGroupid, String mpayPassword, Integer isAdmin, Integer isAll, String mpayFlag, Integer mpayLogCount, String shopId, String shopName, String mpayModuleName, String tableName, String systemName) {
        this.id = id;
        this.mpayUserid = mpayUserid;
        this.mpayUsername = mpayUsername;
        this.mpayTermid = mpayTermid;
        this.mpayGroupid = mpayGroupid;
        this.mpayPassword = mpayPassword;
        this.isAdmin = isAdmin;
        this.isAll = isAll;
        this. mpayFlag = mpayFlag;
        this.mpayLogCount = mpayLogCount;
        this.shopId = shopId;
        this.shopName = shopName;
        this.mpayModuleName = mpayModuleName;
        this.tableName = tableName;
        this.systemName = systemName;
    }
    
    /** full constructor */
    public UserView(Integer id, String mpayUserid, String mpayUsername, String mpayTermid, String mpayGroupid, String mpayCreate, String mpayLogip, String mpayLogtime, String mpayPassword, Integer isAdmin, Integer isAll, String mpayFlag, Integer mpayLogCount, String shopId, String shopName, String mpayModuleName, String tableName, String systemName, String shopManager) {
        this.id = id;
        this.mpayUserid = mpayUserid;
        this.mpayUsername = mpayUsername;
        this.mpayTermid = mpayTermid;
        this.mpayGroupid = mpayGroupid;
        this.mpayCreate = mpayCreate;
        this.mpayLogip = mpayLogip;
        this.mpayLogtime = mpayLogtime;
        this.mpayPassword = mpayPassword;
        this.isAdmin = isAdmin;
        this.isAll = isAll;
        this.mpayFlag = mpayFlag;
        this.mpayLogCount = mpayLogCount;
        this.shopId = shopId;
        this.shopName = shopName;
        this.mpayModuleName = mpayModuleName;
        this.tableName = tableName;
        this.systemName = systemName;
        this.shopManager = shopManager;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getMpayUserid() {
        return this.mpayUserid;
    }
    
    public void setMpayUserid(String mpayUserid) {
        this.mpayUserid = mpayUserid;
    }

    public String getMpayUsername() {
        return this.mpayUsername;
    }
    
    public void setMpayUsername(String mpayUsername) {
        this.mpayUsername = mpayUsername;
    }

    public String getMpayTermid() {
        return this.mpayTermid;
    }
    
    public void setMpayTermid(String mpayTermid) {
        this.mpayTermid = mpayTermid;
    }

    public String getMpayGroupid() {
        return this.mpayGroupid;
    }
    
    public void setMpayGroupid(String mpayGroupid) {
        this.mpayGroupid = mpayGroupid;
    }

    public String getMpayCreate() {
        return this.mpayCreate;
    }
    
    public void setMpayCreate(String mpayCreate) {
        this.mpayCreate = mpayCreate;
    }

    public String getMpayLogip() {
        return this.mpayLogip;
    }
    
    public void setMpayLogip(String mpayLogip) {
        this.mpayLogip = mpayLogip;
    }

    public String getMpayLogtime() {
        return this.mpayLogtime;
    }
    
    public void setMpayLogtime(String mpayLogtime) {
        this.mpayLogtime = mpayLogtime;
    }

    public String getMpayPassword() {
        return this.mpayPassword;
    }
    
    public void setMpayPassword(String mpayPassword) {
        this.mpayPassword = mpayPassword;
    }

    public Integer getIsAdmin() {
        return this.isAdmin;
    }
    
    public void setIsAdmin(Integer isAdmin) {
        this.isAdmin = isAdmin;
    }

    public Integer getIsAll() {
        return this.isAll;
    }
    
    public void setIsAll(Integer isAll) {
        this.isAll = isAll;
    }

    public String getMpayFlag() {
        return this.mpayFlag;
    }
    
    public void setMpayFlag(String mpayFlag) {
        this.mpayFlag = mpayFlag;
    }

    public Integer getMpayLogCount() {
        return this.mpayLogCount;
    }
    
    public void setMpayLogCount(Integer mpayLogCount) {
        this.mpayLogCount = mpayLogCount;
    }

    public String getShopId() {
        return this.shopId;
    }
    
    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getShopName() {
        return this.shopName;
    }
    
    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getMpayModuleName() {
        return this.mpayModuleName;
    }
    
    public void setMpayModuleName(String mpayModuleName) {
        this.mpayModuleName = mpayModuleName;
    }

    public String getTableName() {
        return this.tableName;
    }
    
    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getSystemName() {
        return this.systemName;
    }
    
    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }

    public String getShopManager() {
        return this.shopManager;
    }
    
    public void setShopManager(String shopManager) {
        this.shopManager = shopManager;
    }
   



   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof UserView) ) return false;
		 UserView castOther = ( UserView ) other; 
         
		 return ( (this.getId()==castOther.getId()) || ( this.getId()!=null && castOther.getId()!=null && this.getId().equals(castOther.getId()) ) )
 && ( (this.getMpayUserid()==castOther.getMpayUserid()) || ( this.getMpayUserid()!=null && castOther.getMpayUserid()!=null && this.getMpayUserid().equals(castOther.getMpayUserid()) ) )
 && ( (this.getMpayUsername()==castOther.getMpayUsername()) || ( this.getMpayUsername()!=null && castOther.getMpayUsername()!=null && this.getMpayUsername().equals(castOther.getMpayUsername()) ) )
 && ( (this.getMpayTermid()==castOther.getMpayTermid()) || ( this.getMpayTermid()!=null && castOther.getMpayTermid()!=null && this.getMpayTermid().equals(castOther.getMpayTermid()) ) )
 && ( (this.getMpayGroupid()==castOther.getMpayGroupid()) || ( this.getMpayGroupid()!=null && castOther.getMpayGroupid()!=null && this.getMpayGroupid().equals(castOther.getMpayGroupid()) ) )
 && ( (this.getMpayCreate()==castOther.getMpayCreate()) || ( this.getMpayCreate()!=null && castOther.getMpayCreate()!=null && this.getMpayCreate().equals(castOther.getMpayCreate()) ) )
 && ( (this.getMpayLogip()==castOther.getMpayLogip()) || ( this.getMpayLogip()!=null && castOther.getMpayLogip()!=null && this.getMpayLogip().equals(castOther.getMpayLogip()) ) )
 && ( (this.getMpayLogtime()==castOther.getMpayLogtime()) || ( this.getMpayLogtime()!=null && castOther.getMpayLogtime()!=null && this.getMpayLogtime().equals(castOther.getMpayLogtime()) ) )
 && ( (this.getMpayPassword()==castOther.getMpayPassword()) || ( this.getMpayPassword()!=null && castOther.getMpayPassword()!=null && this.getMpayPassword().equals(castOther.getMpayPassword()) ) )
 && ( (this.getIsAdmin()==castOther.getIsAdmin()) || ( this.getIsAdmin()!=null && castOther.getIsAdmin()!=null && this.getIsAdmin().equals(castOther.getIsAdmin()) ) )
 && ( (this.getIsAll()==castOther.getIsAll()) || ( this.getIsAll()!=null && castOther.getIsAll()!=null && this.getIsAll().equals(castOther.getIsAll()) ) )
 && ( (this.getMpayFlag()==castOther.getMpayFlag()) || ( this.getMpayFlag()!=null && castOther.getMpayFlag()!=null && this.getMpayFlag().equals(castOther.getMpayFlag()) ) )
 && ( (this.getMpayLogCount()==castOther.getMpayLogCount()) || ( this.getMpayLogCount()!=null && castOther.getMpayLogCount()!=null && this.getMpayLogCount().equals(castOther.getMpayLogCount()) ) )
 && ( (this.getShopId()==castOther.getShopId()) || ( this.getShopId()!=null && castOther.getShopId()!=null && this.getShopId().equals(castOther.getShopId()) ) )
 && ( (this.getShopName()==castOther.getShopName()) || ( this.getShopName()!=null && castOther.getShopName()!=null && this.getShopName().equals(castOther.getShopName()) ) )
 && ( (this.getMpayModuleName()==castOther.getMpayModuleName()) || ( this.getMpayModuleName()!=null && castOther.getMpayModuleName()!=null && this.getMpayModuleName().equals(castOther.getMpayModuleName()) ) )
 && ( (this.getTableName()==castOther.getTableName()) || ( this.getTableName()!=null && castOther.getTableName()!=null && this.getTableName().equals(castOther.getTableName()) ) )
 && ( (this.getSystemName()==castOther.getSystemName()) || ( this.getSystemName()!=null && castOther.getSystemName()!=null && this.getSystemName().equals(castOther.getSystemName()) ) )
 && ( (this.getShopManager()==castOther.getShopManager()) || ( this.getShopManager()!=null && castOther.getShopManager()!=null && this.getShopManager().equals(castOther.getShopManager()) ) );
   }
   
   public int hashCode() {
         int result = 17;
         
         result = 37 * result + ( getId() == null ? 0 : this.getId().hashCode() );
         result = 37 * result + ( getMpayUserid() == null ? 0 : this.getMpayUserid().hashCode() );
         result = 37 * result + ( getMpayUsername() == null ? 0 : this.getMpayUsername().hashCode() );
         result = 37 * result + ( getMpayTermid() == null ? 0 : this.getMpayTermid().hashCode() );
         result = 37 * result + ( getMpayGroupid() == null ? 0 : this.getMpayGroupid().hashCode() );
         result = 37 * result + ( getMpayCreate() == null ? 0 : this.getMpayCreate().hashCode() );
         result = 37 * result + ( getMpayLogip() == null ? 0 : this.getMpayLogip().hashCode() );
         result = 37 * result + ( getMpayLogtime() == null ? 0 : this.getMpayLogtime().hashCode() );
         result = 37 * result + ( getMpayPassword() == null ? 0 : this.getMpayPassword().hashCode() );
         result = 37 * result + ( getIsAdmin() == null ? 0 : this.getIsAdmin().hashCode() );
         result = 37 * result + ( getIsAll() == null ? 0 : this.getIsAll().hashCode() );
         result = 37 * result + ( getMpayFlag() == null ? 0 : this.getMpayFlag().hashCode() );
         result = 37 * result + ( getMpayLogCount() == null ? 0 : this.getMpayLogCount().hashCode() );
         result = 37 * result + ( getShopId() == null ? 0 : this.getShopId().hashCode() );
         result = 37 * result + ( getShopName() == null ? 0 : this.getShopName().hashCode() );
         result = 37 * result + ( getMpayModuleName() == null ? 0 : this.getMpayModuleName().hashCode() );
         result = 37 * result + ( getTableName() == null ? 0 : this.getTableName().hashCode() );
         result = 37 * result + ( getSystemName() == null ? 0 : this.getSystemName().hashCode() );
         result = 37 * result + ( getShopManager() == null ? 0 : this.getShopManager().hashCode() );
         return result;
   }   





}